package com.xueyi.system.seed.domain.dto;

import com.xueyi.system.seed.domain.po.BaseSeedPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 种子种苗基础管理 数据传输对象
 *
 * @author zlf
 */
public class BaseSeedDto extends BaseSeedPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("batch", getBatch())
            .append("supplier", getSupplier())
            .append("primitive", getPrimitive())
            .append("type", getType())
            .append("purchaseDate", getPurchaseDate())
            .append("documentVoucher", getDocumentVoucher())
            .append("checkReport", getCheckReport())
            .append("image", getImage())
            .append("leadingCadre", getLeadingCadre())
            .append("storageMethod", getStorageMethod())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}